package com.victor.common.persistence.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 客户表
 * </p>
 *
 * @author victor
 * @since 2019-03-27
 */
public class Custom extends Model<Custom> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 男方姓名
     */
	@TableField("boy_name")
	private String boyName;
    /**
     * 女方姓名
     */
	@TableField("girl_name")
	private String girlName;
    /**
     * 婚期
     */
	@TableField("wedding_time")
	private Date weddingTime;
    /**
     * 婚纱ID
     */
	@TableField("hunsha_dress_id")
	private Integer hunshaDressId;
    /**
     * 秀禾ID
     */
	@TableField("xiuhe_dress_id")
	private Integer xiuheDressId;
    /**
     * 定金
     */
	@TableField("earnest_money")
	private Double earnestMoney;
    /**
     * 尾款
     */
	@TableField("tail_money")
	private String tailMoney;
    /**
     * 收到尾款时间
     */
	@TableField("tail_time")
	private Date tailTime;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 创建人
     */
	@TableField("create_user")
	private Integer createUser;
    /**
     * 更新时间
     */
	@TableField("update_time")
	private Date updateTime;
    /**
     * 更新人
     */
	@TableField("update_user")
	private Integer updateUser;
    /**
     * 状态（1：正常2：禁用）
     */
	private Integer status;
    /**
     * 备注
     */
	private String remark;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBoyName() {
		return boyName;
	}

	public void setBoyName(String boyName) {
		this.boyName = boyName;
	}

	public String getGirlName() {
		return girlName;
	}

	public void setGirlName(String girlName) {
		this.girlName = girlName;
	}

	public Date getWeddingTime() {
		return weddingTime;
	}

	public void setWeddingTime(Date weddingTime) {
		this.weddingTime = weddingTime;
	}

	public Integer getHunshaDressId() {
		return hunshaDressId;
	}

	public void setHunshaDressId(Integer hunshaDressId) {
		this.hunshaDressId = hunshaDressId;
	}

	public Integer getXiuheDressId() {
		return xiuheDressId;
	}

	public void setXiuheDressId(Integer xiuheDressId) {
		this.xiuheDressId = xiuheDressId;
	}

	public Double getEarnestMoney() {
		return earnestMoney;
	}

	public void setEarnestMoney(Double earnestMoney) {
		this.earnestMoney = earnestMoney;
	}

	public String getTailMoney() {
		return tailMoney;
	}

	public void setTailMoney(String tailMoney) {
		this.tailMoney = tailMoney;
	}

	public Date getTailTime() {
		return tailTime;
	}

	public void setTailTime(Date tailTime) {
		this.tailTime = tailTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getCreateUser() {
		return createUser;
	}

	public void setCreateUser(Integer createUser) {
		this.createUser = createUser;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(Integer updateUser) {
		this.updateUser = updateUser;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Custom{" +
			"id=" + id +
			", boyName=" + boyName +
			", girlName=" + girlName +
			", weddingTime=" + weddingTime +
			", hunshaDressId=" + hunshaDressId +
			", xiuheDressId=" + xiuheDressId +
			", earnestMoney=" + earnestMoney +
			", tailMoney=" + tailMoney +
			", tailTime=" + tailTime +
			", createTime=" + createTime +
			", createUser=" + createUser +
			", updateTime=" + updateTime +
			", updateUser=" + updateUser +
			", status=" + status +
			", remark=" + remark +
			"}";
	}
}
